package com.project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.project.bean.PieBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDate;
import java.util.List;

@Mapper
public interface IPieMapper extends BaseMapper<PieBean> {
    List<PieBean> findContentByData(@Param("startDate") LocalDate startDate,
                                   @Param("endDate")LocalDate endDate);

    List<PieBean> findNPByData(@Param("startDate") LocalDate startDate,
                                    @Param("endDate")LocalDate endDate);

}
